﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DotNet.Random.Date
{
    /// <summary>
    /// 当前天随机类，继承了DayRandService类
    /// </summary>
    public class CurrentDayRandService : DayRandService
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="CurrentDayRandService" /> class.
        /// </summary>
        public CurrentDayRandService()
        {
            this.Serial.Clear();
            var day = System.DateTime.Now.Day;
            this.Serial.Add(day);
        }
    }
}
